import request from '@/utils/request'

// 查询投标用章申请列表
export function listBiddingSeal(query) {
  return request({
    url: '/mis/biddingSeal/list',
    method: 'get',
    params: query
  })
}

// 查询投标用章申请详细
export function getBiddingSeal(id) {
  return request({
    url: '/mis/biddingSeal/' + id,
    method: 'get'
  })
}

// 新增投标用章申请
export function addBiddingSeal(data) {
  return request({
    url: '/mis/biddingSeal',
    method: 'post',
    data: data
  })
}

// 修改投标用章申请
export function updateBiddingSeal(data) {
  return request({
    url: '/mis/biddingSeal',
    method: 'put',
    data: data
  })
}
// 修改投标用章申请
export function updateCaBiddingSeal(data) {
  return request({
    url: '/mis/biddingSeal/updateCaBiddingSeal',
    method: 'post',
    data: data
  })
}

// 删除投标用章申请
export function delBiddingSeal(id) {
  return request({
    url: '/mis/biddingSeal/' + id,
    method: 'delete'
  })
}
